pub const OP_PUSHBYTES_0: u8 = 0x00;
pub const OP_PUSHBYTES_1: u8 = 0x01;
pub const OP_PUSHBYTES_2: u8 = 0x02;
pub const OP_PUSHBYTES_3: u8 = 0x03;
pub const OP_PUSHBYTES_4: u8 = 0x04;
pub const OP_PUSHBYTES_5: u8 = 0x05;
pub const OP_PUSHBYTES_6: u8 = 0x06;
pub const OP_PUSHBYTES_7: u8 = 0x07;
pub const OP_PUSHBYTES_8: u8 = 0x08;
pub const OP_PUSHBYTES_9: u8 = 0x09;
pub const OP_PUSHBYTES_10: u8 = 0x0a;
pub const OP_PUSHBYTES_11: u8 = 0x0b;
pub const OP_PUSHBYTES_12: u8 = 0x0c;
pub const OP_PUSHBYTES_13: u8 = 0x0d;
pub const OP_PUSHBYTES_14: u8 = 0x0e;
pub const OP_PUSHBYTES_15: u8 = 0x0f;
pub const OP_PUSHBYTES_16: u8 = 0x10;
pub const OP_PUSHBYTES_17: u8 = 0x11;
pub const OP_PUSHBYTES_18: u8 = 0x12;
pub const OP_PUSHBYTES_19: u8 = 0x13;
pub const OP_PUSHBYTES_20: u8 = 0x14;
pub const OP_PUSHBYTES_21: u8 = 0x15;
pub const OP_PUSHBYTES_22: u8 = 0x16;
pub const OP_PUSHBYTES_23: u8 = 0x17;
pub const OP_PUSHBYTES_24: u8 = 0x18;
pub const OP_PUSHBYTES_25: u8 = 0x19;
pub const OP_PUSHBYTES_26: u8 = 0x1a;
pub const OP_PUSHBYTES_27: u8 = 0x1b;
pub const OP_PUSHBYTES_28: u8 = 0x1c;
pub const OP_PUSHBYTES_29: u8 = 0x1d;
pub const OP_PUSHBYTES_30: u8 = 0x1e;
pub const OP_PUSHBYTES_31: u8 = 0x1f;
pub const OP_PUSHBYTES_32: u8 = 0x20;
pub const OP_PUSHBYTES_33: u8 = 0x21;
pub const OP_PUSHBYTES_34: u8 = 0x22;
pub const OP_PUSHBYTES_35: u8 = 0x23;
pub const OP_PUSHBYTES_36: u8 = 0x24;
pub const OP_PUSHBYTES_37: u8 = 0x25;
pub const OP_PUSHBYTES_38: u8 = 0x26;
pub const OP_PUSHBYTES_39: u8 = 0x27;
pub const OP_PUSHBYTES_40: u8 = 0x28;
pub const OP_PUSHBYTES_41: u8 = 0x29;
pub const OP_PUSHBYTES_42: u8 = 0x2a;
pub const OP_PUSHBYTES_43: u8 = 0x2b;
pub const OP_PUSHBYTES_44: u8 = 0x2c;
pub const OP_PUSHBYTES_45: u8 = 0x2d;
pub const OP_PUSHBYTES_46: u8 = 0x2e;
pub const OP_PUSHBYTES_47: u8 = 0x2f;
pub const OP_PUSHBYTES_48: u8 = 0x30;
pub const OP_PUSHBYTES_49: u8 = 0x31;
pub const OP_PUSHBYTES_50: u8 = 0x32;
pub const OP_PUSHBYTES_51: u8 = 0x33;
pub const OP_PUSHBYTES_52: u8 = 0x34;
pub const OP_PUSHBYTES_53: u8 = 0x35;
pub const OP_PUSHBYTES_54: u8 = 0x36;
pub const OP_PUSHBYTES_55: u8 = 0x37;
pub const OP_PUSHBYTES_56: u8 = 0x38;
pub const OP_PUSHBYTES_57: u8 = 0x39;
pub const OP_PUSHBYTES_58: u8 = 0x3a;
pub const OP_PUSHBYTES_59: u8 = 0x3b;
pub const OP_PUSHBYTES_60: u8 = 0x3c;
pub const OP_PUSHBYTES_61: u8 = 0x3d;
pub const OP_PUSHBYTES_62: u8 = 0x3e;
pub const OP_PUSHBYTES_63: u8 = 0x3f;
pub const OP_PUSHBYTES_64: u8 = 0x40;
pub const OP_PUSHBYTES_65: u8 = 0x41;
pub const OP_PUSHBYTES_66: u8 = 0x42;
pub const OP_PUSHBYTES_67: u8 = 0x43;
pub const OP_PUSHBYTES_68: u8 = 0x44;
pub const OP_PUSHBYTES_69: u8 = 0x45;
pub const OP_PUSHBYTES_70: u8 = 0x46;
pub const OP_PUSHBYTES_71: u8 = 0x47;
pub const OP_PUSHBYTES_72: u8 = 0x48;
pub const OP_PUSHBYTES_73: u8 = 0x49;
pub const OP_PUSHBYTES_74: u8 = 0x4a;
pub const OP_PUSHBYTES_75: u8 = 0x4b;
pub const OP_PUSHDATA1: u8 = 0x4c;
pub const OP_PUSHDATA2: u8 = 0x4d;
pub const OP_PUSHDATA4: u8 = 0x4e;
pub const OP_PUSHNUM_NEG1: u8 = 0x4f;
pub const OP_RESERVED: u8 = 0x50;
pub const OP_PUSHNUM_1: u8 = 0x51;
pub const OP_PUSHNUM_2: u8 = 0x52;
pub const OP_PUSHNUM_3: u8 = 0x53;
pub const OP_PUSHNUM_4: u8 = 0x54;
pub const OP_PUSHNUM_5: u8 = 0x55;
pub const OP_PUSHNUM_6: u8 = 0x56;
pub const OP_PUSHNUM_7: u8 = 0x57;
pub const OP_PUSHNUM_8: u8 = 0x58;
pub const OP_PUSHNUM_9: u8 = 0x59;
pub const OP_PUSHNUM_10: u8 = 0x5a;
pub const OP_PUSHNUM_11: u8 = 0x5b;
pub const OP_PUSHNUM_12: u8 = 0x5c;
pub const OP_PUSHNUM_13: u8 = 0x5d;
pub const OP_PUSHNUM_14: u8 = 0x5e;
pub const OP_PUSHNUM_15: u8 = 0x5f;
pub const OP_PUSHNUM_16: u8 = 0x60;
pub const OP_NOP: u8 = 0x61;
pub const OP_VER: u8 = 0x62;
pub const OP_IF: u8 = 0x63;
pub const OP_NOTIF: u8 = 0x64;
pub const OP_VERIF: u8 = 0x65;
pub const OP_VERNOTIF: u8 = 0x66;
pub const OP_ELSE: u8 = 0x67;
pub const OP_ENDIF: u8 = 0x68;
pub const OP_VERIFY: u8 = 0x69;
pub const OP_RETURN: u8 = 0x6a;
pub const OP_TOALTSTACK: u8 = 0x6b;
pub const OP_FROMALTSTACK: u8 = 0x6c;
pub const OP_2DROP: u8 = 0x6d;
pub const OP_2DUP: u8 = 0x6e;
pub const OP_3DUP: u8 = 0x6f;
pub const OP_2OVER: u8 = 0x70;
pub const OP_2ROT: u8 = 0x71;
pub const OP_2SWAP: u8 = 0x72;
pub const OP_IFDUP: u8 = 0x73;
pub const OP_DEPTH: u8 = 0x74;
pub const OP_DROP: u8 = 0x75;
pub const OP_DUP: u8 = 0x76;
pub const OP_NIP: u8 = 0x77;
pub const OP_OVER: u8 = 0x78;
pub const OP_PICK: u8 = 0x79;
pub const OP_ROLL: u8 = 0x7a;
pub const OP_ROT: u8 = 0x7b;
pub const OP_SWAP: u8 = 0x7c;
pub const OP_TUCK: u8 = 0x7d;
pub const OP_CAT: u8 = 0x7e;
pub const OP_SUBSTR: u8 = 0x7f;
pub const OP_LEFT: u8 = 0x80;
pub const OP_RIGHT: u8 = 0x81;
pub const OP_SIZE: u8 = 0x82;
pub const OP_INVERT: u8 = 0x83;
pub const OP_AND: u8 = 0x84;
pub const OP_OR: u8 = 0x85;
pub const OP_XOR: u8 = 0x86;
pub const OP_EQUAL: u8 = 0x87;
pub const OP_EQUALVERIFY: u8 = 0x88;
pub const OP_RESERVED1: u8 = 0x89;
pub const OP_RESERVED2: u8 = 0x8a;
pub const OP_1ADD: u8 = 0x8b;
pub const OP_1SUB: u8 = 0x8c;
pub const OP_2MUL: u8 = 0x8d;
pub const OP_2DIV: u8 = 0x8e;
pub const OP_NEGATE: u8 = 0x8f;
pub const OP_ABS: u8 = 0x90;
pub const OP_NOT: u8 = 0x91;
pub const OP_0NOTEQUAL: u8 = 0x92;
pub const OP_ADD: u8 = 0x93;
pub const OP_SUB: u8 = 0x94;
pub const OP_MUL: u8 = 0x95;
pub const OP_DIV: u8 = 0x96;
pub const OP_MOD: u8 = 0x97;
pub const OP_LSHIFT: u8 = 0x98;
pub const OP_RSHIFT: u8 = 0x99;
pub const OP_BOOLAND: u8 = 0x9a;
pub const OP_BOOLOR: u8 = 0x9b;
pub const OP_NUMEQUAL: u8 = 0x9c;
pub const OP_NUMEQUALVERIFY: u8 = 0x9d;
pub const OP_NUMNOTEQUAL: u8 = 0x9e;
pub const OP_LESSTHAN: u8 = 0x9f;
pub const OP_GREATERTHAN: u8 = 0xa0;
pub const OP_LESSTHANOREQUAL: u8 = 0xa1;
pub const OP_GREATERTHANOREQUAL: u8 = 0xa2;
pub const OP_MIN: u8 = 0xa3;
pub const OP_MAX: u8 = 0xa4;
pub const OP_WITHIN: u8 = 0xa5;
pub const OP_RIPEMD160: u8 = 0xa6;
pub const OP_SHA1: u8 = 0xa7;
pub const OP_SHA256: u8 = 0xa8;
pub const OP_HASH160: u8 = 0xa9;
pub const OP_HASH256: u8 = 0xaa;
pub const OP_CODESEPARATOR: u8 = 0xab;
pub const OP_CHECKSIG: u8 = 0xac;
pub const OP_CHECKSIGVERIFY: u8 = 0xad;
pub const OP_CHECKMULTISIG: u8 = 0xae;
pub const OP_CHECKMULTISIGVERIFY: u8 = 0xaf;
pub const OP_NOP1: u8 = 0xb0;
pub const OP_CLTV: u8 = 0xb1;
pub const OP_CHECKSEQUENCEVERIFY: u8 = 0xb2;
pub const OP_NOP4: u8 = 0xb3;
pub const OP_NOP5: u8 = 0xb4;
pub const OP_NOP6: u8 = 0xb5;
pub const OP_NOP7: u8 = 0xb6;
pub const OP_NOP8: u8 = 0xb7;
pub const OP_NOP9: u8 = 0xb8;
pub const OP_NOP10: u8 = 0xb9;
pub const OP_CHECKSIGADD: u8 = 0xba;
pub const OP_RETURN_187: u8 = 0xbb;
pub const OP_RETURN_188: u8 = 0xbc;
pub const OP_RETURN_189: u8 = 0xbd;
pub const OP_RETURN_190: u8 = 0xbe;
pub const OP_RETURN_191: u8 = 0xbf;
pub const OP_RETURN_192: u8 = 0xc0;
pub const OP_RETURN_193: u8 = 0xc1;
pub const OP_RETURN_194: u8 = 0xc2;
pub const OP_RETURN_195: u8 = 0xc3;
pub const OP_RETURN_196: u8 = 0xc4;
pub const OP_RETURN_197: u8 = 0xc5;
pub const OP_RETURN_198: u8 = 0xc6;
pub const OP_RETURN_199: u8 = 0xc7;
pub const OP_RETURN_200: u8 = 0xc8;
pub const OP_RETURN_201: u8 = 0xc9;
pub const OP_RETURN_202: u8 = 0xca;
pub const OP_RETURN_203: u8 = 0xcb;
pub const OP_RETURN_204: u8 = 0xcc;
pub const OP_RETURN_205: u8 = 0xcd;
pub const OP_RETURN_206: u8 = 0xce;
pub const OP_RETURN_207: u8 = 0xcf;
pub const OP_RETURN_208: u8 = 0xd0;
pub const OP_RETURN_209: u8 = 0xd1;
pub const OP_RETURN_210: u8 = 0xd2;
pub const OP_RETURN_211: u8 = 0xd3;
pub const OP_RETURN_212: u8 = 0xd4;
pub const OP_RETURN_213: u8 = 0xd5;
pub const OP_RETURN_214: u8 = 0xd6;
pub const OP_RETURN_215: u8 = 0xd7;
pub const OP_RETURN_216: u8 = 0xd8;
pub const OP_RETURN_217: u8 = 0xd9;
pub const OP_RETURN_218: u8 = 0xda;
pub const OP_RETURN_219: u8 = 0xdb;
pub const OP_RETURN_220: u8 = 0xdc;
pub const OP_RETURN_221: u8 = 0xdd;
pub const OP_RETURN_222: u8 = 0xde;
pub const OP_RETURN_223: u8 = 0xdf;
pub const OP_RETURN_224: u8 = 0xe0;
pub const OP_RETURN_225: u8 = 0xe1;
pub const OP_RETURN_226: u8 = 0xe2;
pub const OP_RETURN_227: u8 = 0xe3;
pub const OP_RETURN_228: u8 = 0xe4;
pub const OP_RETURN_229: u8 = 0xe5;
pub const OP_RETURN_230: u8 = 0xe6;
pub const OP_RETURN_231: u8 = 0xe7;
pub const OP_RETURN_232: u8 = 0xe8;
pub const OP_RETURN_233: u8 = 0xe9;
pub const OP_RETURN_234: u8 = 0xea;
pub const OP_RETURN_235: u8 = 0xeb;
pub const OP_RETURN_236: u8 = 0xec;
pub const OP_RETURN_237: u8 = 0xed;
pub const OP_RETURN_238: u8 = 0xee;
pub const OP_RETURN_239: u8 = 0xef;
pub const OP_RETURN_240: u8 = 0xf0;
pub const OP_RETURN_241: u8 = 0xf1;
pub const OP_RETURN_242: u8 = 0xf2;
pub const OP_RETURN_243: u8 = 0xf3;
pub const OP_RETURN_244: u8 = 0xf4;
pub const OP_RETURN_245: u8 = 0xf5;
pub const OP_RETURN_246: u8 = 0xf6;
pub const OP_RETURN_247: u8 = 0xf7;
pub const OP_RETURN_248: u8 = 0xf8;
pub const OP_RETURN_249: u8 = 0xf9;
pub const OP_RETURN_250: u8 = 0xfa;
pub const OP_RETURN_251: u8 = 0xfb;
pub const OP_RETURN_252: u8 = 0xfc;
pub const OP_RETURN_253: u8 = 0xfd;
pub const OP_RETURN_254: u8 = 0xfe;
pub const OP_INVALIDOPCODE: u8 = 0xff;

// OP codes aliases:

/// Push an empty array onto the stack.
pub const OP_0: u8 = OP_PUSHBYTES_0;
/// Empty stack is also FALSE.
pub const OP_FALSE: u8 = OP_PUSHBYTES_0;
/// Number 1 is also TRUE.
pub const OP_TRUE: u8 = OP_PUSHNUM_1;
/// Previously called OP_NOP2.
pub const OP_NOP2: u8 = OP_CLTV;
/// Previously called OP_NOP3.
pub const OP_NOP3: u8 = OP_CHECKSEQUENCEVERIFY;
